import { get } from '@/utils/request';

/**
 * 获取菜单导航
 */
export const getMenuNav = () => {
  return get('/sys/menu/nav');
};

/**
 * 获取菜单权限
 */
export const getMenuPermissions = () => {
  return get('/sys/menu/permissions');
};

/**
 * 获取用户信息
 */
export const getUserInfo = () => {
  return get('/sys/user/info');
};

/**
 * 获取字典数据
 */
export const getDictTypes = () => {
  return get('/sys/dict/type/all');
};

/**
 * 获取智能体列表
 */
export const getAgentList = () => {
  return get('/intelligent/base/page');
};